package br.infotec.musicaunb.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Table;

import org.hibernate.search.annotations.DocumentId;
import org.springframework.data.jpa.domain.AbstractPersistable;


/**
 * 
 * @author Higor Cesar
 *
 */
@Entity
@Table(name = "dia_semana")
public class DiaSemana extends AbstractPersistable<Long> implements AbstraticPojo{

        /**
         * 
         */
        private static final long serialVersionUID = -975108143052783434L;

        private String diaSemana;
        
        @Override
        @Column(name = "id_dia_semana")
        @GeneratedValue
        @DocumentId
        public Long getId() {
                // TODO Auto-generated method stub
                return super.getId();
        }
        
        @Column(name = "dia_semana")
        public String getDiaSemana() {
                return diaSemana;
        }
        public void setDiaSemana(String diaSemana) {
                this.diaSemana = diaSemana;
        }

}